package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 波浪/流速数据
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_rt_env_system_wave_dd")
@ApiModel(value="TbRtEnvSystemWaveDd对象", description="波浪/流速数据")
public class TbRtEnvSystemWaveDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "试验id（trialId）")
	@TableField(value = "trialId")
    private String trialId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss SSS")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss SSS",
            timezone = "GMT+8"
    )
    private Date time;

	@ApiModelProperty(value = " 数据标识 F-流数据 W-波数据")
	@TableField(value = "dataFlag")
	private String dataFlag;

	@ApiModelProperty(value = " 设备编号 总共3台流场测量设备(001、002、003)")
	@TableField(value = "deviceNumber")
	private String deviceNumber;

	@ApiModelProperty(value = "层号 同一设备会有多层数据，每层有一个流速数据")
	@TableField(value = "layerNumber")
	private String layerNumber;

	@ApiModelProperty(value = "层深度")
	@TableField(value = "layerDepth")
	private String layerDepth;

	@ApiModelProperty(value = "合成水平流速(米)")
	@TableField(value = "flowSpeed")
	private String flowSpeed;

	@ApiModelProperty(value = "合成水平流向(度)")
	@TableField(value = "flowDirection")
	private String flowDirection;

	@ApiModelProperty(value = "/东向水平流速(米)")
	@TableField(value = "eastFlowSpeed")
	private String eastFlowSpeed;

	@ApiModelProperty(value = "东向水平流向(度)")
	@TableField(value = "eastFlowDirection")
	private String eastFlowDirection;

	@ApiModelProperty(value = " 北向水平流速(米)")
	@TableField(value = "northFlowSpeed")
	private String northFlowSpeed;

	@ApiModelProperty(value = "北向水平流向(度)")
	@TableField(value = "northFlowDirection")
	private String northFlowDirection;

	@ApiModelProperty(value = "垂直流速(米)")
	@TableField(value = "verticalFlowSpeed")
	private String verticalFlowSpeed;

	@ApiModelProperty(value = "垂直流向(度)")
	@TableField(value = "verticalFlowDirection")
	private String verticalFlowDirection;

	@ApiModelProperty(value = " 有效波高(米)")
	@TableField(value = "significantWaveHeight")
	private String significantWaveHeight;

	@ApiModelProperty(value = " 谱峰周期(s)")
	@TableField(value = "spectralPeakPeriod")
	private String spectralPeakPeriod;

	@ApiModelProperty(value = "跨零周期(s)")
	@TableField(value = "crossZeroPeriod")
	private String crossZeroPeriod;

	@ApiModelProperty(value = " 谱峰波向(度)")
	@TableField(value = "spectralPeakWaveDirection")
	private String spectralPeakWaveDirection;

	@ApiModelProperty(value = "主波向(度)")
	@TableField(value = "mainWaveDirection")
	private String mainWaveDirection;

    /*@ApiModelProperty(value = " 数据标识 F-流数据 W-波数据")
    private String dataFlag;

    @ApiModelProperty(value = " 设备编号 总共3台流场测量设备(001、002、003)")
    private String deviceNumber;

    @ApiModelProperty(value = "层号 同一设备会有多层数据，每层有一个流速数据")
    private String layerNumber;

    @ApiModelProperty(value = "层深度")
    private String layerDepth;

    @ApiModelProperty(value = "合成水平流速(米)")
    private String flowSpeed;

    @ApiModelProperty(value = "合成水平流向(度)")
    private String flowDirection;

    @ApiModelProperty(value = "/东向水平流速(米)")
    private String eastFlowSpeed;

    @ApiModelProperty(value = "东向水平流向(度)")
    private String eastFlowDirection;

    @ApiModelProperty(value = " 北向水平流速(米)")
    private String northFlowSpeed;

    @ApiModelProperty(value = "北向水平流向(度)")
    private String northFlowDirection;

    @ApiModelProperty(value = "垂直流速(米)")
    private String verticalFlowSpeed;

    @ApiModelProperty(value = "垂直流向(度)")
    private String verticalFlowDirection;

    @ApiModelProperty(value = " 有效波高(米)")
    private String significantWaveHeight;

    @ApiModelProperty(value = " 谱峰周期(s)")
    private String spectralPeakPeriod;

    @ApiModelProperty(value = "跨零周期(s)")
    private String crossZeroPeriod;

    @ApiModelProperty(value = " 谱峰波向(度)")
    private String spectralPeakWaveDirection;

    @ApiModelProperty(value = "主波向(度)")
    private String mainWaveDirection;*/


}
